package com.mmd.common.enums;

public enum DictTypeEnums {
    delivery_track(1, "提单轨迹");

    private DictTypeEnums(Integer type, String name) {
        this.type = type;
        this.name = name;
    }
//
//    public static DictTypeEnums getUserTypeEnum(Integer type) {
//        DictTypeEnums[] enumArr = DictTypeEnums.values();
//        for (DictTypeEnums e : enumArr) {
//            if (Objects.equals(e.getType(), type)) {
//                return e;
//            }
//        }
//        return null;
//    }

    private Integer type;
    private String name;

    public Integer getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}
